home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 25 / AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso / Updates / AmigaOS3.5 / IPop / common.h < prev    next >
C/C++ Source or Header  |  2000-05-16  |  2KB  |  89 lines

  1. #ifndef __COMMON_H__
  2. #define __COMMON_H__
  3.  
  4. #ifndef _SYSTEM_HEADERS_H
  5. #include "system_headers.h"
  6. #endif  /* _SYSTEM_HEADERS_H */
  7.  
  8. #include "protos.h"
  9. #include "arexx.h"
  10. #include "version.h"
  11.  
  12. #define AUTHOR "Deryk B. Robosson <newlook@linux.tc3net.com>"
  13. #define CX_POPKEY    "control alt i"
  14. #define CX_PRIORITY  0
  15.  
  16. enum
  17. {
  18.    OID_MAIN = 0,
  19.    OID_HEADER,
  20.    OID_LAST
  21. };
  22.  
  23. enum
  24. {
  25.    WID_MAIN = 0,
  26.    WID_HEADER,
  27.    WID_LAST
  28. };
  29.  
  30. enum
  31. {
  32.    GID_MAIN = 0,
  33.    GID_FUEL,
  34.  
  35.    GID_HMAIN,
  36.    GID_LB,
  37.  
  38.    GID_LAST
  39. };
  40.  
  41. /* our global data */
  42. struct PopData
  43. {
  44.    Object            *pd_Objects[OID_LAST];
  45.    struct Gadget     *pd_Gadgets[GID_LAST];
  46.    struct Window     *pd_Windows[WID_LAST];
  47.    struct MsgPort    *pd_SharedPort;
  48.    ULONG             pd_SharedSigBit;
  49.    struct List       pd_List;
  50.    struct Screen     *pd_Screen;
  51.    struct DrawInfo   *pd_DrawInfo;
  52.    APTR              *pd_VisualInfo;
  53.  
  54.    BOOL              pd_InitFuel;
  55.    BOOL              pd_FirstUpdate;
  56.    ULONG             pd_TotalMsg;
  57.    ULONG             pd_TotalSize;
  58.    ULONG             pd_TotalCurrent;
  59.  
  60.    ULONG             pd_HWindowSigBit;
  61.  
  62.    struct MsgPort    *pd_cxPort;
  63.    CxObj             *pd_cxBroker;
  64.    ULONG             pd_cxSigBit;
  65.    ULONG             pd_cxPriority;
  66.    BOOL              pd_cxPopUp;
  67.    UBYTE             pd_cxPopKey[32];
  68.  
  69.    struct MsgPort    *pd_TimePort;
  70.    struct timerequest *pd_TimeRequest;
  71.    struct MsgPort    *pd_AppPort;
  72.    struct AppIcon    *pd_AppIcon;
  73.  
  74.    Object            *pd_ARexx;
  75.    UBYTE             pd_ARexxPort[32];
  76.    ULONG             pd_rexxSigBit;
  77.  
  78.    UBYTE             pd_Server[128];
  79.    ULONG             pd_Port;
  80.    UBYTE             pd_Username[256];
  81.    UBYTE             pd_Password[256];
  82.    ULONG             pd_Check;
  83.    BOOL              pd_Quiet;
  84.    BOOL              pd_UseSpool;
  85.    UBYTE             pd_SpoolFile[368];
  86. };
  87.  
  88. #endif /* __COMMON_H__ */
  89.